package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_shop")
public class Shop extends BaseDomain {

    /**
     *
     */
    private String name;
    private String tel;
    private Date registerTime = new Date();
    //状态 0:待审核 1：已审核待激活 2.正常使用 3.驳回
    private Integer state = 0;
    private String address;
    private String logo;
    private Long adminId = 0L;

    /**
     * 店长信息
     */
    @Transient
    private Employee admin;
}
